home *** CD-ROM | disk | FTP | other *** search
/ By Popular Request 2.0 / By Popular Request 2.0 (Arsenal Computer).ISO / amiga_1 / adf11.lha / Example.doc < prev   
Text File  |  1995-02-17  |  2KB  |  53 lines

  1. TABLE OF CONTENTS
  2.  
  3. financial.library/StealMoney
  4. financial.library/StealMoney             financial.library/StealMoney
  5.  
  6.    NAME
  7.     StealMoney -- Steal money from the Federal Reserve Bank.  (V77)
  8.  
  9.    SYNOPSIS
  10.     error = StealMoney( userName, amount, destAccount, falseTrail );
  11.     D0+Z            D0          D1.W    A0       [A1]
  12.  
  13.     BYTE StealMoney( STRPTR userName, UWORD amount, struct AccountSpec
  14.         *destAccount, struct falseTrail *falseTrail );
  15.  
  16.    FUNCTION
  17.     Transfer money from the Federal Reserve Bank into the specified
  18.     interest-earning checking account.  No records of the transaction
  19.     will be retained.
  20.  
  21.    INPUTS
  22.     userName - name to make the transaction under.    Popular favorites
  23.         include "Ronald Reagan" and "Mohamar Quadaffi".
  24.  
  25.     amount - Number to dollars to transfer (in thousands).
  26.  
  27.     destAccount - A filled-in AccountSpec structure detailing the
  28.         destination account (see financial/accounts.h).  If NULL, a
  29.         second Great Depression will be triggered.
  30.  
  31.     falseTrail - If the DA_FALSETRAIL bit is set in the destAccount, a
  32.         falseTrail structure must be provided.
  33.  
  34.    RESULT
  35.     error (D0+Z) - zero for success, else an error code is returned (see
  36.         financial/errors.h).  The Z condition code is guaranteed.
  37.  
  38.    EXAMPLE
  39.     Federal regulations prohibit a demonstration of this function.
  40.  
  41.    NOTE
  42.     Do not run on Tuesdays!
  43.  
  44.    BUGS
  45.     Before V88, this function would occasionally print the address and
  46.     home phone number of the caller on local police 976 terminals.    We
  47.     are confident that this problem has been resolved.
  48.  
  49.    SEE ALSO
  50.     CreateAccountSpec(), security.device/SCMD_DESTROY_EVIDENCE,
  51.     financial/misc.h
  52.  
  53.